import { request } from '../utils/request2'
/**
 * 添加订单
 */
export const addOrder = (data) => {
  return request({
    url: 'movie/order/add',
    method: 'POST',
    data
  })
}
/**
 * 获取订单列表
 */
export const getMovieOrderList = data => {
  return request({
    url: 'movie/order/list',
    data
  })
}
/**
 * 删除订单
 */
export const delOrder = orderid => {
  return request({
    url: 'movie/order/delete',
    method: 'DELETE',
    data: {
      orderid
    }
  })
}